package com.xlhj.elastic.common;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author: liucaijing
 * @description: 统一返回状态码
 * @date: 2021/5/11 15:34
 */
@Getter
@AllArgsConstructor
public enum ResultCode {

    SUCCESS(200, "成功"),
    FAIL(400, "失败");

    private Integer code;

    private String message;
}
